home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / include / asm-m32r / scatterlist.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  505 b   |  22 lines

  1. #ifndef _ASM_M32R_SCATTERLIST_H
  2. #define _ASM_M32R_SCATTERLIST_H
  3.  
  4. #include <asm/types.h>
  5.  
  6. struct scatterlist {
  7. #ifdef CONFIG_DEBUG_SG
  8.     unsigned long sg_magic;
  9. #endif
  10.     char *  address;    /* Location data is to be transferred to, NULL for
  11.                          * highmem page */
  12.     unsigned long page_link;
  13.     unsigned int offset;/* for highmem, page offset */
  14.  
  15.     dma_addr_t dma_address;
  16.     unsigned int length;
  17. };
  18.  
  19. #define ISA_DMA_THRESHOLD (0x1fffffff)
  20.  
  21. #endif /* _ASM_M32R_SCATTERLIST_H */
  22.